﻿@model finalproject3.Models.DishProduct
@{
    ViewBag.Title = "Updatedish";
    Layout = "~/Views/Shared/_Layoutdish.cshtml";
}
                        	<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<div>
<img src="~/images/@ViewBag.X.Imagepath" alt="" width="40%" height="40%"/>
        </div>
<fieldset>
    <legend>Contactssec</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Region)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Region)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Quantity)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Quantity)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.category)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.category)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Price)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Price)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "view_all_dishes")
    </p>
}